<template>
  <div class="error-page">
    <div class="error-code">404</div>
    <div class="error-desc">抱歉，你访问的页面不存在</div>
    <router-link to="/dashboard" class="error-btn">返回首页</router-link>
  </div>
</template>
<script>
export default {
  name: 'Error404'
}
</script>

<style scoped>
.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  .error-code {
    font-size: 250px;
    font-weight: bold;
    color: #2d8cf0;
  }
  .error-desc {
    font-size: 30px;
    color: #ddd;
    margin-top: 20px;
  }
  .error-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #2d8cf0;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
    
    &:hover {
      background: #2b85e4;
    }
  }
}
</style>